package com.wanmait.employment.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
* Created by Mybatis Generator 2023/05/19
*/
@Data
@TableName(value = "resum_views_history")
public class ResumViewsHistory {
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 简历id
     */
    @TableField(value = "userinfo_id")
    private Integer userinfoId;

    @TableField(value = "userinfo",exist = false)
    private Userinfo userinfo;
    /**
     * 发布人id
     */
    @TableField(value = "publisher_id")
    private Integer publisherId;

    @TableField(value = "publisher",exist = false)
    private Publisher publisher;
    /**
     * 浏览时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 浏览次数
     */
    @TableField(value = "count")
    private Integer count;

    /**
     * 假删
     */
    @TableField(value = "enable")
    private Boolean enable;

    public static final String COL_USERINFO_ID = "userinfo_id";

    public static final String COL_PUBLISHER_ID = "publisher_id";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_COUNT = "count";

    public static final String COL_ENABLE = "enable";
}